# List结构  可变的  可编辑

#
shopList = ['apple', 'mango', 'carrot', 'banana']
print('len ', len(shopList))
for i in shopList:
    print(i, end=' ')
shopList.append('rice')
print("")
print('\n', shopList)
shopList.sort()
print('sort: ', shopList)
del shopList[0]
print('after del: ', shopList)


